{ Siberian Olympiad. 2 stage.
  Problemset: http://agul-problems1.googlecode.com/svn/trunk/2010-2011/wso/stage2/wso_2stage.pdf
  Problem 8.
  Points: 10
}
begin
rewrite(output,'output.txt');
writeln('16');
end.